package com.un.web.sys.service.impl;

import com.un.web.sys.mapper.SysRoleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.un.web.sys.domain.entity.SysRole;
import com.un.web.sys.service.SysRoleService;
/**
* @Author xingjian
* @Date 2023-01-12
**/

@Service
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> implements SysRoleService{

    @Autowired
    private SysRoleMapper sysRoleMapper;

    @Override
    public SysRole getSysRoleById(Integer id) {
        return sysRoleMapper.selectById(id);
    }
}
